package com.learn.constant;

/**
 * 平台日志追踪常量类
 *
 * @author zhouhaofeng
 * @version 2022/3/14 0014
 * @see [相关类/方法]
 * @since [cloud-phone-service]
 */
public class LogTraceConstants
{
	private LogTraceConstants ()
	{

	}

	/**
	 * MDC中TraceId的key值，日志打印需要带上traceId
	 */
	public static final String MDC_TRACE_ID_KEY = "traceId";

	/**
	 * MDC中userName的key值
	 */
	public static final String MDC_USER_NAME_KEY = "userName";

	/**
	 * MDC中tenantId的key值
	 */
	public static final String MDC_TENANT_ID_KEY = "tenantId";

	/**
	 * MDC中业务操作Id的key值
	 */
	public static final String MDC_ACTION_ID_KEY = "actionId";
}
